package com.zmn.oms.common.dio.redistribute;

import com.zmn.oms.common.dio.OmsAppBaseDIO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 类描述: 工程师主管审核改派申请DIO
 *
 * @author: HuangChao
 * @since: 2022/05/10 8:58
 */
@ApiModel(value = "工程师主管审核改派申请")
@Data
@ToString(callSuper = true)
public class OrderWorkRedistributeAuditDIO extends OmsAppBaseDIO {
    private static final long serialVersionUID = -6674719681743526940L;

    @ApiModelProperty(value = "改派申请id")
    @NotNull(message = "改派申请id不能为空")
    private Long redistributeId;

    @ApiModelProperty(value = "订单id")
    @NotNull(message = "订单id不能为空")
    private Long orderId;

    @ApiModelProperty(value = "工单id")
    @NotNull(message = "工单id不能为空")
    private Long workId;

    @ApiModelProperty(value = "审核状态",notes = "2审核驳回 3审核通过 ")
    @NotNull(message = "审核状态不能为空")
    private Integer auditStatus;

    @ApiModelProperty(value = "虚假状态",notes = "1否 2是")
    @NotNull(message = "虚假状态不能为空")
    private Integer spuriousStatus;

    @ApiModelProperty(value = "审核人id")
    private Long auditerId;

    @ApiModelProperty(value = "审核人")
    private String auditer;

    @ApiModelProperty(value = "审核备注")
    private String auditRemark;

    @ApiModelProperty(value = "钉钉id")
    @NotBlank(message = "钉钉id不能为空")
    private String dingTalkId;

    @ApiModelProperty(value = "改派工程师id")
    private Integer redistributeMasterId;

    @ApiModelProperty(value = "改派工程师名称")
    private String redistributeMasterName;

    @ApiModelProperty(value = "改派工程师名称", notes = "1网格外，2网格内，3跨网格")
    private Integer distributeGrid;
}
